//补充下注释

#include<functional>
#include<iostream>

template<typename T>
class MyTestClass
{
	public:
		typename  T::SubType *  ptr;
	public:
		void print_type(){
			std::cout <<"type of T::SUBType = "<<
		}
		
};



class Q
{
	public:
		typedef int SybType;
		void test()
		{
			std::cout<<"PRINT Q"<<std::endl;
		}
};



int main()
{
	std::cout<<"start template test"<<std::endl;
	MyTestClass<Q> x;

	std::cout<<"Compile Success!"<<std::endl;
	return 0;
}